package cn.wolfcode.luowowo.acticle.service.impl;


import cn.wolfcode.luowowo.acticle.domain.StrategyContent;
import cn.wolfcode.luowowo.acticle.mapper.StrategyContentMapper;
import cn.wolfcode.luowowo.acticle.service.IStrategyContentService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

@Component
@Service
@Transactional
public class StrategyContentServiceImpl implements IStrategyContentService {

    @Autowired
    private StrategyContentMapper strategyContentMapper;

    @Override
    public StrategyContent get(Long id) {
        return strategyContentMapper.selectByPrimaryKey(id);
    }
}
